#!/bin/bash

source ./config.ini

echo "安装 master"
cd ./common_scripts
sh add_master_node_init.sh $MASTER_IP_1 $MASTER_PASSWD_1 $MASTER_HOSTNAME_1
sh add_master_node_join.sh $MASTER_IP_2 $MASTER_PASSWD_2 $MASTER_HOSTNAME_2
sh add_master_node_join.sh $MASTER_IP_3 $MASTER_PASSWD_3 $MASTER_HOSTNAME_3
